SftTree/OCX 7.0

SftTreeColumn.CellHAlign Property

Softel vdm, Inc.

Defines the default horizontal alignment of cell contents in this column.

Syntax       

Get

VB.NET

Style = object.CellHAlign  As SftTreeHAlignConstants

VB

Style = object.CellHAlign  As SftTreeHAlignConstants

C#.NET

SftTreeHAlignConstants Style = object.CellHAlign;

VC++

enum SftTreeHAlignConstants Style = object->CellHAlign;
enum SftTreeHAlignConstants Style = object->GetCellHAlign();

C

HRESULT object->get_CellHAlign(enum SftTreeHAlignConstants* Style);

Delphi

Style := object.CellHAlign  : TOleEnum;

Put

VB.NET

object.CellHAlign = Style  As SftTreeHAlignConstants

VB

object.CellHAlign = Style  As SftTreeHAlignConstants

C#.NET

SftTreeHAlignConstants object.CellHAlign = Style;

VC++

enum SftTreeHAlignConstants object->CellHAlign = Style;
void object->PutCellHAlign(enum SftTreeHAlignConstants Style);

C

HRESULT object->put_CellHAlign(enum SftTreeHAlignConstants Style);

Delphi

object.CellHAlign := Style  : TOleEnum;

object

A SftTreeColumn object.

Style

Defines the default horizontal alignment of cell contents in this column.

Name

Value

Description

halignSftTreeLeft

0

The text and graphic component are left aligned.

halignSftTreeCenter

1

The text and graphic component are centered.

halignSftTreeRight

2

The text and graphic component are right aligned.

Comments

The CellHAlign property defines the default horizontal alignment of cell contents in this column.

The alignment applies to all cells in the column specified.  Individual cells can override the defined default alignment using the Cell.TextHAlign, Cell.TextVAlign, Cell.ImageHAlign and Cell.ImageVAlign properties.

See Also  SftTreeColumn Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com